#ifndef __COMM_H
#define __COMM_H


#include "main.h"



#define turn_half 14.00f  //Half turn data of the ring arm/*

#define ring_data 24.86f

typedef union 
{
   u8 data[8];
   float f_data[2];
} VC_data;



#define VC_BUF ReBuff3 //Visual communication Buf/*
#define COMM_BHF ReBuff4

extern char Pos_Flag;
extern char Last_Pos_Flag;


void Visual_Comm(void );//Visual communication function/*


float Conversion(float out_min ,float out_max,float in_min,float in_max,float in);

void Chassis_Comm(void );//Chassis communication function/*


extern VC_data VisualC_data;


extern u8 shoot_cnt ;




#endif


